package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName  DataTalkGroupFriendsDO
 * @Description 群聊成员数据表
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("data_talk_group_friends")
public class DataTalkGroupFriendsDO implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * talkGroupId
     */
    @TableField(value = "talk_group_id")
    private Long talkGroupId;

    /**
     * 群id
     */
    @TableField(value = "group_id")
    private Long groupId;

    /**
     * 群code
     */
    @TableField(value = "chat_id")
    private String chatId;

    /**
     * 群成员id
     */
    @TableField(value = "friends_id")
    private Long friendsId;

    /**
     * 群成员code
     */
    @TableField(value = "friends_code")
    private String friendsCode;

    /**
     * 入群时间
     */
    @TableField(value = "join_time")
    private LocalDateTime joinTime;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
}
